window.base = undefined;
(()=>{
        let getRootPath=(()=>{
            let curPageUrl = window.document.location.href;
            let rootPath = curPageUrl.split("//")[0] + curPageUrl.split("//")[1].split("/")[0]
                + "/" + curPageUrl.split("//")[1].split("/")[1];
            return rootPath;
        })()
        return {
            "getRootPath":getRootPath
        }
    }
)(window.base)